﻿using System.Configuration.Provider;
using System.Net.Mail;

namespace Altairis.MailToolkit.Transport {

    /// <summary>
    /// Base class for all transport providers
    /// </summary>
    public abstract class TransportProvider : ProviderBase {

        /// <summary>
        /// Sends the message using current transport provider.
        /// </summary>
        /// <param name="msg">The message to be sent.</param>
        public abstract void SendMessage(MailMessage msg);
    }
}